SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c0d2072119509544062b1213346e0927a130d513341ab9d59538b394c9522f23' 
  AND token = 'RbcnaNvEvJ2WMVuHlX5wo8m7W8XAPzGwzny0/tH+SCA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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