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

Query time 0.00017

JSON explain

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