SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '557aae172e478c06d6baceb42baa99167b0edb836971413447b5ac669b5262cb' 
  AND token = 'NYLok+ws0V5gE+7uTrGK4RADfsLs/HTADByJHMDIbH0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

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