SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f508ae597116545ebd0d883308a43de2abf8b3bf9b40db6f59be3f3048b7c2a9' 
  AND token = 'n2Odpb5ZgbT4UpryLYroRNoUpAOi5v7T3IThRsWnLuo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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