SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd0e5e7c22f5aa6df096a322da627a16c9f95759154ea28a388e3230b4d924b0e' 
  AND token = 'QbPiSNlLkdEI5BO/ns/RFLGrTd+igTDEXsf6VTZC5oE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00105

JSON explain

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