SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd458c1f78c8c82b4ef0b8afa8e5ef8d9871eeb1a06f710b54bb88f3eb197e614' 
  AND token = 'NjCuHOlpB714R6P1ck0R4JPMK3d/6W+VQ1Ck0HFpvdE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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