SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '510966914c60b609cb9fc02f41be8ed84d374aeb1cc1d71a4f829a75e81fae0d' 
  AND token = 'kvd8k+F6yl4eSO9/mbHZNuQhVLKJJMIjWUNgfrLy+OA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

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