SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7a8062024776a9ec742c4e7b6c38c01161cab9e33ccc5fa0caf4eef4d3be1495' 
  AND token = 'JQ2eK6cpkqB7txyHbos6KFO6WTY0XOX+sdy/hIE07ok=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00021

JSON explain

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