SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4a74d9d474a2e3183de96104201e0d4598112b6adb27746f3a42d9edfe079901' 
  AND token = '3lA7Ho+lpbq9L0F/dF1CXU1v8RLPBKGaJwyB7YAvm30=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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