SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b7871b3b771056e60f2ccd5fe1ac5da46d365361f2fc5be265fa31c58835c7e4' 
  AND token = '8xPZ1TxLAkojd/rI7128ozkjMmpPoEhvfC2bdnPHSvs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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