SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b30dccc744e8cf42b3fc05f2eec0445b0c2a3c06b9d06c8e63f46b3f50c8ea24' 
  AND token = 'Vnr9tFeTFBaS7aubOrvPDA0eQckpop53g/bLJ5qTdmU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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