SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1be85eacb86dda14f41d5f097bf2f2df8906d6e9a33d6f1104c551ab460df890' 
  AND token = 'Ew2WTKxjhpAt6GI91mOc3i8ptowVtyGgRWXe0oyJb68=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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