SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ced6c0fd38d404c5c6fbf8edf8b00517fa8b7103f8e3b9e6927e404003007f5a' 
  AND token = '2eHWJHWu8SIxxnF8S8iD24Ccu+XLFDMQtgQOeVG4sa0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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