SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e0d77b96e1e1bca19f2447a798d9d7900e6a28f18d95081a0e022879dd20e68c' 
  AND token = 'sYuEwiZ7MVMW7G2ULCDQI/p2KpjDG3WtfJL+TSJXrl4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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