SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ef7316184590795f3ef686d6cd88d2319e3577aec8a43df487008c6e34f3af5e' 
  AND token = 'N0jRg8I6Q5NA9h8s9ksfOuqkrxCZW2SIZOzS/i/mEEY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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