SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c782dc3544436accc686c8c7a1c5a8ed285dd6e75860b07376b92fa7df93c4df' 
  AND token = 'BXCvFY1ETpmVF6ebAdFUkwcPZwsqR4GY0t/aQMadLfQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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