SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '17ade15ee70db45373e9d5b12a297acaa9faf2df6b74e8c6d49cdddee1bea5ea' 
  AND token = '7ck4FT3mcGAYCh9GHrsATtGBkmThpeab4kBzase2wPw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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