SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e9d8047c123f357d2f3992c64e1bbbd78af486a969c856db5a2bd805892aa841' 
  AND token = 'Tdq7EU8Y9u3Gt2NBMP5AH3lV0Ua1VTl1vTrZ5+qm2b4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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