SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c104ee185473d596fd21af3ced821633d29e4c4caffba34676f3ebadf7b0c36a' 
  AND token = 'k7di+luyON3fOiM065DlzsOt8oTB2QyFZxifyJWoOZA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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