SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '310bc32c92c243e5b356cab8c1b1c40592d010189ac1847c96926cae60c109d5' 
  AND token = 'O5QcLdqZjS1Zk7j7q1+cg/8d4t+T3ZLo0MCQrC8+9yY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00051

JSON explain

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