SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '374ca3bd6c28ccadf83b2469b150e43677f47decf357945763316059d77e6f95' 
  AND token = 'XdQw5yLJuMxbccFMU5795BL3p3QMvft7RqryCa6tIQE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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