SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'be4cd0cc4198cae766dc980b343a0ead25495b96268ea7ba27e9fcb33ffeb744' 
  AND token = 'w+Pys6fCSHT6MPgRmQBx66fmFX5LQhWYQn21pZARRTQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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