SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'edfeb8858fa72a2ad78326294d895349eaab263433a57511dafadab3e0057f87' 
  AND token = 'a6xDu9UF8xZncX1oTn5yHYwN7vu02s2bFT4jVcgJHW4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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