SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3541a465955e94dd2352db4cebdeebee8e3906bf4250667396864554ad1dd63e' 
  AND token = 'Q6DblXlZhzXeoiIw4YexUNdGgVfzXiK9f50PH6WVenE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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