SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'afe29f4298c57a05978cadda947e87a943804c6b5c01e747772e1e291f7a845b' 
  AND token = 'FcgJdDvyhC9SNmyhQvoJqmOlVR2aTctA+RSFcwmTsU4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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