SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd0c304a8552d79656d99ddb6cee7f948ff916283bc1eea84a2e39c58db540a3a' 
  AND token = 'I47D1M+mNqK6u70YjAEPGrm1AVZA8EqSQzjwcRCsjUE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00056

JSON explain

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