SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8d8bb1fe0d18772601020d3db7c9b51e8221199bf49e8aa6c5958d759ff9f570' 
  AND token = '8jf7C4cEaLWhpGjV79LuzpyoMg+GDXx0hoTsc5Eo4SQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}