SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f008bfea0fe4ed346dcc0d4bf0b8ccb54e84814f0508d3e2b1cb6113cc4bcab1' 
  AND token = 'Y77PAY/fEOR7Ebx7znRQ+XYb1zU0cMsPL3gOJXU48Qw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00018

JSON explain

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