SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0267016430f261a2778e97c671391d3652984273548292020637075ae8cd6197' 
  AND token = 'L239OiO1ZdUbrv0HtsDlevBkYIRSNXMk5TwykRe2YHQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00071

JSON explain

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