SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e5252873dfe98af69d53f0fec4dc950ba12f98d43598df810851981a80fd1816' 
  AND token = 'GI8aHfn6Ni1CJjGPmBMz6Uw2Bn92MbD9Lq/L48LQKTI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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