SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '25af7f65b23ef9d50a57d20a4dcbbcf5620f340eeab7971be0a5087fa9464cb1' 
  AND token = 'sdgKKLm/L8iRbQEZ+Njm871hT/zlZcBIfW0sEOU91+k=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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