SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f742788980e2734a71937eebbdb6fa0fbf405f67f15c4380944e208c39e57c27' 
  AND token = 'WWW9kC4E3Sbcu+Pr2JsdUTVs4+mwzK2kuxQvL4e8aYQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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