SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a31b1eed872e522df4143ce139dbaf3d9e1347adc686b1a80dd89a0669e3f3ea' 
  AND token = 'df/qwdcr+lFpQWLGV8Sxf/2y6tDBvOJu0IeVbf61sIw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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